<template>
  <div>
    <!-- <span>辛冠要打人的次数</span>{{ count }}
    <el-button @click="$emit('update:count',count+1)">点击加1</el-button> -->
    <!-- <span>辛冠要打人的次数</span>{{ count }}
    <el-button @click="$emit('update:count',count+1)">点击加1</el-button> -->
    <!-- <span>吴天昊打飞机的次数 </span>{{ count }}
    <el-button @click="$emit('updata:count',count+1)">点击+1</el-button> -->
    <span>我是{{ sub }}</span>
    <el-button @click="$emit('update:sub',sub+1)">点击+1</el-button>
    <span>我是{{ sub1 }}</span>
    <el-button @click="$emit('update:sub1',sub1+100)">点击+100</el-button>
  </div>
</template>

<script>
export default {
  name: 'VueAdminTemplateSon',
  props: {
    sub: {
      type: Number,
      required: true
    },
    sub1: {
      type: Number,
      required: true
    }

  },
  data() {
    return {

    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
